﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Modelitem.aspx.cs" Inherits="Manage_Cms_Modelitem" %>

<html>
<head>
    <!--#include file="../js/html_head.inc"-->
    <link rel="stylesheet" type="text/css" href="../Themes/<%=ManageHelper.GetTheme()%>/style.css" />
</head>
<body >
    <%=ManageHelper.PageSucMsg()!=""?"<div class='msg_succeed'>"+ManageHelper.PageSucMsg()+"</div>":""%>
    <div class="mycolumn">
            <div class="columntitle"><%=ActName %>站点</div>
        <form id="myForm" name="myForm" method="post" action="?act=<%=ActFlag %>" onsubmit="return validator(this)" >
            <table cellpadding="2" width="95%" align="center">
                <tr>
                    <td align="left" width="100">
                        <img src="../pic/icons/help.gif" alt="模型名称" onclick="helpInf(this)" />
                        模型名称：</td>
                    <td align="left">
                        <input  name="ModelName" type="text" value="<%=modelCmsModel.ModelName %>" valid="required" errmsg="*请输入模型名称" />
                    </td>
                </tr>
                               
                <tr>
                    <td align="left" width="100">
                        <img src="../pic/icons/help.gif" alt="项目名称" onclick="helpInf(this)" />
                        项目名称：</td>
                    <td align="left">
                        <input id="Text3" name="ItemName" type="text" value="<%=modelCmsModel.ItemName %>" valid="required" errmsg="*请输入项目名称" />
                    </td>
                </tr>
                <tr>
                    <td align="left" width="100">
                        <img src="../pic/icons/help.gif" alt="项目单位" onclick="helpInf(this)" />
                        项目单位：</td>
                    <td align="left">
                        <input id="Text4" name="ItemUnit" type="text" value="<%=modelCmsModel.ItemUnit %>" valid="required" errmsg="*请输入项目单位" />
                    </td>
                </tr>
                
                <tr>
                    <td align="left" width="100">
                        <img src="../pic/icons/help.gif" alt="模型描述" onclick="helpInf(this)" />
                        模型描述：</td>
                    <td align="left">
                        <textarea name="Description" valid="required" errmsg="*请输入模型描述" style="width:160px;height:60px" class="colorblur" onfocus="this.className='colorfocus';"
                            onblur="this.className='colorblur';" valid="required" errmsg="请输入备注。"/><%=modelCmsModel.Description %></textarea>
                    </td>
                </tr>
                <tr>
                    <td align="left" width="100">
                        <img src="../pic/icons/help.gif" alt="是否启用" onclick="helpInf(this)" />
                        是否启用：</td>
                    <td align="left" class="tdcheckbox">
                        <input id="Text5" name="isusing" type="checkbox" checked="checked" value="1" />
                    </td>
                </tr>
                <tr>
                    <td align="left" width="100">
                        <img src="../pic/icons/help.gif" alt="排序" onclick="helpInf(this)" />
                        排序：</td>
                    <td align="left" >
                        <input type="text" name="OrderID"  value="<%=modelCmsModel.OrderID==0?bllCmsModel.GetMaxOrderID():modelCmsModel.OrderID %>" valid="required|isInt" errmsg="请输入排序|排序只能为一个整数" />
                    </td>
                </tr>
                
                <tr>
                    <td colspan="2" align="center" class="tdbutton">
                        <input type="submit" value="确 定"  />&nbsp;&nbsp;
                        <input type="button" value="取 消" onclick="window.parent.ymPrompt.doHandler('close');"/>
                        <input type="hidden" value="<%=modelCmsModel.ModelID %>" name="ModelID" />
                    </td>
                </tr>
            </table>
        </form>
    </div>
</body>
</html>
